package com.yjt.fresh.activity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.RelativeLayout;

import com.yjt.fresh.R;
import com.yjt.fresh.base.BaseSimpleActivity;

import butterknife.BindView;
import butterknife.ButterKnife;

/**
 * 关于我们
 * Created by mcc on 2018/7/21.
 */

public class AtyAboutUs extends BaseSimpleActivity {
    @BindView(R.id.back)
    RelativeLayout mBack;
    @BindView(R.id.rlAppAtyAboutUsArgument)
    RelativeLayout mRlArgument;
    @BindView(R.id.rlAppAtyAboutUsPrivate)
    RelativeLayout mRlPrivate;
    @BindView(R.id.rlAppAtyAboutUsContact)
    RelativeLayout mRlContact;

    @Override
    protected int getContentView() {
        return R.layout.app_aty_about_us;
    }

    @Override
    protected void initViews() {
        ButterKnife.bind(this);
    }

    @Override
    protected void initEvent() {
        mRlArgument.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(mContext,AtyUserArgument.class);
                startActivity(intent);
            }
        });

        mRlPrivate.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(mContext,AtyPrivate.class);
                startActivity(intent);
            }
        });

        mRlContact.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(mContext,AtyContactUs.class);
                startActivity(intent);
            }
        });

        mBack.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
    }

}
